package com.zoe.vhr.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author Zoe.Zhang
 * @Date: 2021/09/10
 * @Description 项目自定义配置
 */
@Component
@ConfigurationProperties(prefix = "vhr")
public class ProjectConfig {
    private String projectVersion;
    private String uploadPath;

    public String getProjectVersion() {
        return projectVersion;
    }

    public void setProjectVersion(String projectVersion) {
        this.projectVersion = projectVersion;
    }

    public String getUploadPath() {
        return uploadPath;
    }

    public void setUploadPath(String uploadPath) {
        this.uploadPath = uploadPath;
    }

    @Override
    public String toString() {
        return "ProjectConfig{" +
            "projectVersion='" + projectVersion + '\'' +
            ", uploadPath='" + uploadPath + '\'' +
            '}';
    }
}
